<?php
require_once("includes/prepend.php");
require_once("includes/lifesubnav.php");
$bloglists = $page->bloglists;
$oneBlog =$page->oneBlog;
$blogKindList = $page->blogKindList;
$blogs =$bloglists[0];
$usernumbers =$bloglists[1];
$kinds =$bloglists[2];
$profileID = $page->profileId;
//$blogId = $_GET["blogId"];
$blogId = $page->blogId;
$userId = $page->userId;
$previousBlog = $page->getPreviousBlog($blogId);
$nextBlog = $page->getNextBlog($blogId);
//print_r($kinds);
?>
<script type="text/javascript" src="js/blog.js"></script>
<div id="maincontent"><!--start maincontent-->
<?php 
	if ($oneBlog==1){
		require_once('template/blog/blogsingle.php');
	}else{
		require_once('template/blog/blogmulty.php');
	}
?>
<?php 
/**
 * display the blog comments of this blog
 * 
 */
require_once("blogcomment.php") ;
?>
</div><!--end maincontent--->
<?php require_once("includes/pagefoot.php");
?>
<script type="text/javascript">
jQuery(document).ready(function(){
	jQuery(".blogiterm .blogtext").dblclick(function(){
		
		var Ob=jQuery(this);
		if(Ob.css('overflow')=='hidden'){
			Ob.css({'overflow':"visible"});
		}else{
			Ob.css({'overflow':"hidden"});
		}
	})
	
})
</script>